﻿import QtQuick 2.0
import QtQuick.Controls 1.2
import QtQuick.Controls.Styles 1.4
import QtQuick.Controls.Private 1.0

Item{
    width: window.width
    height: Math.max(name.height, comboxBox.height)

    property string textValue: ""
    property alias comboxBox: comboxBox

    Text {
        id: name
        width: parent.width - comboxBox.width - 50
        wrapMode: Text.WrapAnywhere
        text: textValue
        lineHeight: 1.2
    }
    ComboBox{
        id: comboxBox
        anchors.right: parent.right
        model: ["1", "2", "3", "4", "5"]
        style: ComboBoxStyle{

        }
    }
}

